package cn.com.cifi.mars.constant;

/**
  * 项目背景与价格策略类型
 * @author Administrator
 *
 */
public enum BackTacticsEnum {

	PROJECTINFO("projectInfo","项目当前面临情况"),
	RISKASSESSMENT("riskAssessment","风险评估"),
	PRICESTRATEGYDESC("priceStrategyDesc","价格调整简述"),
	PRICEADJUSTDESC("priceAdjustDesc","价格调整策略概述"),
	OTHER("other","其他");

    private String key;
    private String value;

    BackTacticsEnum(String key,String value) {
        this.key = key;
        this.value = value;
    }

    public String getKey() {
        return key;
    }
    
    public String getValue() {
        return value;
    }
    
    public static String getValueByKey(String key){
        for(BackTacticsEnum eunm:BackTacticsEnum.values()){
            if(key.equals(eunm.getKey())){
                return eunm.getValue();
            }
        }
        return  null;
    }

}
